//
//  CommonHeader.swift
//  xmly
//
//  Created by 刘文超 on 2019/12/27.
//  Copyright © 2019 刘文超. All rights reserved.
//

import Foundation
import UIKit
import SnapKit


let ScreenWidth = UIScreen.main.bounds.size.width
let ScreenHeight = UIScreen.main.bounds.size.height

let MainColor = UIColor.init(red: 242/255.0, green: 77/255.0, blue: 51/255.0, alpha: 1.0)
let lineGrayColor = UIColor.init(red: 235.0/255.0, green: 235.0/255.0, blue: 235.0/255.0, alpha: 1.0)
let labelGrayColor = UIColor.init(red: 200.0/255.0, green: 200.0/255.0, blue: 200.0/255.0, alpha: 1.0)
let arc4randomColor = UIColor.init(red: (CGFloat)(arc4random()%256)/255.0, green: (CGFloat)(arc4random()%256)/255.0, blue: (CGFloat)(arc4random()%256)/255.0, alpha: 1)



let isIphoneXsear = (UIApplication.shared.statusBarFrame.height == 44) ? true : false
let SafeAreaTopHeight : CGFloat = isIphoneXsear ? 88 : 44
let SafeAreaBottomHeight : CGFloat = isIphoneXsear ? 34 : 0
let KTabBarHeight : CGFloat = isIphoneXsear ? 83 : 49
let KBlackspace : CGFloat = 12.0
let KSmallspace : CGFloat = 8.0

